home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19960715-19961006 / 000119_news@columbia.edu _Wed Jul 31 16:24:53 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: news@columbia.edu
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id QAA29366 for <kermit.misc@watsun.cc.columbia.edu>; Wed, 31 Jul 1996 16:24:53 -0400 (EDT)
  3. Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.7.5/8.7.3) id QAA14228 for kermit.misc@watsun; Wed, 31 Jul 1996 16:24:52 -0400 (EDT)
  4. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  5. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: C-Kermit subshell command exit status
  8. Date: 31 Jul 1996 20:24:32 GMT
  9. Organization: Columbia University
  10. Lines: 22
  11. Message-ID: <4tofe0$7oa@apakabar.cc.columbia.edu>
  12. References: <4to9k2$sgk@news-old.tiac.net>
  13. NNTP-Posting-Host: watsun.cc.columbia.edu
  14.  
  15. In article <4to9k2$sgk@news-old.tiac.net>,
  16. David Scollo  <ccraft@tiac.com> wrote:
  17. : Is there a way to have a kermit script determine the exit 
  18. : status of a command executed using the ! operator?  The 
  19. : \v(exitstatus) variable does not seem to provide this.
  20. :
  21. \v(exitstatus) is C-Kermit's own exit status, which is built
  22. up over time in various ways.
  23.  
  24. : I am running C-Kermit ver 5a/189 under SCO UNIX and XENIX.
  25. The current version is 5A(190), and version 6.0 is in Beta.
  26. In version 6.0, the \v(status) variable is supposed to contain
  27. the exit status code of the child process, and IF SUCCESS /
  28. IF FAILURE should work after RUN/! commands too.  You are welcome
  29. to test this.  Follow the links on our Web page:
  30.  
  31.   http://www.columbia.edu/kermit/
  32.  
  33. Send reports (good or bad) to kermit@columbia.edu.
  34.  
  35. - Frank